package org.jumiz.framework.mysql;

import lombok.Data;
import org.jumiz.framework.base.wrapper.QueryWrapper;
import org.jumiz.framework.mysql.wrapper.MysqlQueryWrapper;

/**
 *
 */
public class MysqlMain {
    public static void main(String[] args) {
//        QueryWrapper<TestEntity> wrapper = new QueryWrapper<>();
        MysqlQueryWrapper<TestEntity> wrapper = new MysqlQueryWrapper(TestEntity.class);
        wrapper.eq(TestEntity::getName, "abc");
        wrapper.eq(TestEntity::getName, "abcf");
        System.out.println(wrapper.toSqlString());
    }
}
